package org.ruanjj.io;

import java.io.Serializable;

public class Father1 implements Serializable {
    static final long serialVersionUID = 11234L;
    String name ;
    int age;

    public Father1(String name, int age){
        this.name = name;
        this.age = age;
    }

    public Father1(String name){
        this.name = name;
    }

    //普通正常类不能有抽象方法
    //abstract String getName();
    public String getName(){
        return name;
    }
}
